package com.yupi.yupicturebackend.model.vo;

import com.yupi.yupicturebackend.model.entity.Post;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 帖子视图
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PostVO extends Post implements Serializable {

    /**
     * 创建用户信息
     */
    private UserVO user;

    /**
     * 关联图片信息
     */
    private PictureVO picture;

    private static final long serialVersionUID = 1L;
}
